<template>
    <div class="page-bar">
        <h1 class="slogen">
           <slot></slot>
        </h1>
    </div>
</template>

<script lang='ts'>
import {Component, Vue, Prop} from 'vue-property-decorator';

@Component
export default class pageBar extends Vue{}

</script>

<style scoped lang='less'>

.page-bar{
    @h: 120*@rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: @h;
    background: url('../../assets/page-bar-bg.png') center no-repeat;
    background-size: 100% auto;
    text-align: center;
}

.slogen{
    font-size: 28*@rem;
    color: @fontColorLight;
}

</style>